<div class="header1-wrapper bc">
    <div class="header1 rela bc1 white">
        <div class="title txtc white">发车详情</div>
        <a class="btn-back white" href="#/tab/bid" >
            <i class="icon-icon-07"></i>
        </a>
    </div>
</div>
<div id="wrapper" style="background: #eee;"><div id="scroller">
    <div class="ease content5">
        <div class="bid-con1">
            <div class="bid-header1">
                <span class="icon-icon-17 icon" style=""></span>
                <span style="">发车单</span>
                <div class="state" style="">
                    {{bid | orderState}}&nbsp;&nbsp;<span style="font-size: 16px;">{{bid.price}}</span> 元
                </div>

            </div>
            <table class="myTtable">
                <tr>
                    <td style="border-right: 1px solid #a2a2a2"><span
                            style="color: #666666">始发</span>&nbsp;&nbsp;<span
                            style="color: #333333">{{bid.from}}</span></td>
                    <td><span style="color: #666666">启运</span>&nbsp;&nbsp;<span style="color: #333333">{{bid.bstart | dateFormat}}</span>
                    </td>
                </tr>
                <tr>
                    <td style="border-right: 1px solid #a2a2a2"><span
                            style="color: #666666">目的</span>&nbsp;&nbsp;<span
                            style="color: #333333">{{bid.dest}}</span></td>
                    <td><span style="color: #666666">到货</span>&nbsp;&nbsp;<span style="color: #333333">{{bid.bend | dateFormat}}</span>
                    </td>
                </tr>
            </table>
        </div>
        <div class="bid-con2" style="margin-top: 12px;">
            <div ng-if="bid.type == 1">
                <div style="background: #666;border-radius: 5px 5px 0 0;color:#fff;">
                    <table class="ease">
                        <tr style="">
                            <td width="37%">品牌</td>
                            <td width="37%">型号</td>
                            <td width="13%">图片</td>
                            <td>数量</td>
                        </tr>
                    </table>
                </div>
                <div class="">
                    <table class="ease">
                        <tr class="bc3" ng-class="{odd:$index%2}" ng-repeat="car in bid.cars">
                            <td width="37%">{{car.brand}}</td>
                            <td width="37%">{{car.type}}</td>
                            <td width="13%" ng-click="popIdx = car.pic && $index"><i class="icon-image" ng-class="{active:car.pic}"></i> </td>
                            <td>{{car.num}}

                                <div class="popImg" ng-show="popIdx === $index">
                                    <img ng-src="{{'/image/userimg/'+bid.userid+'/'+car.pic}}">
                                    <div class="btn-wrapper" ng-click="popIdx = undefined"><div class="btn">X</div></div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="rela" ng-if="bid.type == 2">
                <div style="position: absolute;z-index:-1;width:100%;height:36px;background: #666;border-radius: 5px 5px 0 0;"></div>
                <table class="ease light" width="100%" >
                    <tr class="white" style="">
                        <th width="60%">板型</th>
                        <th>数量</th>
                    </tr>
                    <tr class="bc3" ng-class="{odd:$index%2}" ng-repeat="type in nums">

                        <td>{{type.type}}</td>
                        <td>{{type.num}}</td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div></div>